package com.xbdun.facade.validatebmp.request;

import com.xbdun.common.api.AbXbdUnRequest;

/**
* 生成可以扫码验证的二维码
* @ClassName: GenroScanQrRequest
* @Description 生成可以扫码验证的二维码
* @author zhanggt 360730440@qq.com
* @date 2017年5月2日 上午11:14:23
*/
public class GenroScanQrRequest  extends AbXbdUnRequest {
	private static final long serialVersionUID = 1L;
	private String scanQrKey;//生成二维码的KEY
	private String scanQrValue = "";//生成二维码的字符串
	private String nonceStr;//随机字符串，不长于32位。推荐随机数生成算法
	private String url;//二维码Logo头像,空不生成,default 就是公司默认的LOGO
	private int effectTime;//有效时间，默认3分钟,单位秒
	private boolean needIoc = true;//是否中间显示公司LOGO,true:显示,false:不显示
	private Integer qrSize;//二维码尺寸正方形
	private Integer width;//宽度
	private Integer height;//高端
	private String  timestamp;//是客户端的时间戳,用于前端得到二维码后循环KEY+此值进行二维码验证(一定要客户端获取PC)
	public int getEffectTime() {
		return effectTime;
	}
	public Integer getHeight() {
		return height;
	}
	
	public boolean getNeedIoc() {
		return needIoc;
	}
	public String getNonceStr() {
		return nonceStr;
	}
	public Integer getQrSize() {
		return qrSize;
	}
	public String getScanQrKey() {
		return scanQrKey;
	}
	
	public String getScanQrValue() {
		return scanQrValue;
	}
	public String getTimestamp() {
		return timestamp;
	}
	public String getUrl() {
		return url;
	}
	public Integer getWidth() {
		return width;
	}
	public void setEffectTime(int effectTime) {
		this.effectTime = effectTime;
	}
	public void setHeight(Integer height) {
		this.height = height;
	}
	
	public void setNeedIoc(boolean needIoc) {
		this.needIoc = needIoc;
	}
	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}
	public void setQrSize(Integer qrSize) {
		this.qrSize = qrSize;
	}
	public void setScanQrKey(String scanQrKey) {
		this.scanQrKey = scanQrKey;
	}
	public void setScanQrValue(String scanQrValue) {
		this.scanQrValue = scanQrValue;
	}
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public void setWidth(Integer width) {
		this.width = width;
	}
}